<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <style type="text/css">
        #getMessage{
            text-align:center
        }
    </style>
</head>
<body>



<div id="getMessage" >
    <p  style="color: red" th:text="${loginMsg}"></p>
    <form th:action="@{/login}" method="post">
        <p>账号：<input type="text" name="username"></p>
        <p>密码：<input type="password" name="password"></p>
        <p><input type="hidden" name="kt" th:value="${kt}"></p>
        <p><input type="submit" value='登录'>&nbsp;&nbsp;<a href="/plcUser">返回</a></p>
        <p></p>
    </form>
</div>
</body>


</html>